<html>
 <head>
   <title>用户系统</title>
 </head>
 <body>
   <?php if($this->member['memberId']) { ?>
        当前用户: <?php echo $this->member['memberName'];?>
        <a href="<?php echo $this->Controller->getURI('/logout'); ?>">退出</a>
   <?php } else { ?>
       <a href="<?php echo $this->Controller->getURI('/register'); ?>">注册</a>
       <a href="<?php echo $this->Controller->getURI('/login'); ?>">登录</a>
   <?php } if(is_array($this->member)) foreach($this->member as $k => $v) { ?>   <?php echo $k;?> => <?php echo $v;?><br>
 <?php } ?>
 </body>
</html>